<?php
include 'dbInclude.php';
$orderid = $_GET["orderid"];
$rows=$dbh->query("UPDATE orders SET STATUS='E' WHERE ORDER_ID='".$orderid."';");
header("Location: {$_SERVER['HTTP_REFERER']}");
exit;
?>